﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001495 RID: 5269
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UnlockedAreaMapScNotify : IMessage<UnlockedAreaMapScNotify>, IMessage, IEquatable<UnlockedAreaMapScNotify>, IDeepCloneable<UnlockedAreaMapScNotify>, IBufferMessage
	{
		// Token: 0x17004251 RID: 16977
		// (get) Token: 0x0600EB86 RID: 60294 RVA: 0x00275644 File Offset: 0x00273844
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UnlockedAreaMapScNotify> Parser
		{
			get
			{
				return UnlockedAreaMapScNotify._parser;
			}
		}

		// Token: 0x17004252 RID: 16978
		// (get) Token: 0x0600EB87 RID: 60295 RVA: 0x0027564B File Offset: 0x0027384B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UnlockedAreaMapScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004253 RID: 16979
		// (get) Token: 0x0600EB88 RID: 60296 RVA: 0x0027565D File Offset: 0x0027385D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UnlockedAreaMapScNotify.Descriptor;
			}
		}

		// Token: 0x0600EB89 RID: 60297 RVA: 0x00275664 File Offset: 0x00273864
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockedAreaMapScNotify()
		{
		}

		// Token: 0x0600EB8A RID: 60298 RVA: 0x00275677 File Offset: 0x00273877
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockedAreaMapScNotify(UnlockedAreaMapScNotify other) : this()
		{
			this.entryIdList_ = other.entryIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EB8B RID: 60299 RVA: 0x002756A1 File Offset: 0x002738A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockedAreaMapScNotify Clone()
		{
			return new UnlockedAreaMapScNotify(this);
		}

		// Token: 0x17004254 RID: 16980
		// (get) Token: 0x0600EB8C RID: 60300 RVA: 0x002756A9 File Offset: 0x002738A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> EntryIdList
		{
			get
			{
				return this.entryIdList_;
			}
		}

		// Token: 0x0600EB8D RID: 60301 RVA: 0x002756B1 File Offset: 0x002738B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UnlockedAreaMapScNotify);
		}

		// Token: 0x0600EB8E RID: 60302 RVA: 0x002756BF File Offset: 0x002738BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UnlockedAreaMapScNotify other)
		{
			return other != null && (other == this || (this.entryIdList_.Equals(other.entryIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EB8F RID: 60303 RVA: 0x002756F4 File Offset: 0x002738F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.entryIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EB90 RID: 60304 RVA: 0x00275728 File Offset: 0x00273928
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EB91 RID: 60305 RVA: 0x00275730 File Offset: 0x00273930
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EB92 RID: 60306 RVA: 0x00275739 File Offset: 0x00273939
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.entryIdList_.WriteTo(ref output, UnlockedAreaMapScNotify._repeated_entryIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EB93 RID: 60307 RVA: 0x00275760 File Offset: 0x00273960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.entryIdList_.CalculateSize(UnlockedAreaMapScNotify._repeated_entryIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EB94 RID: 60308 RVA: 0x00275799 File Offset: 0x00273999
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UnlockedAreaMapScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.entryIdList_.Add(other.entryIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EB95 RID: 60309 RVA: 0x002757C7 File Offset: 0x002739C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EB96 RID: 60310 RVA: 0x002757D0 File Offset: 0x002739D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U && num != 50U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.entryIdList_.AddEntriesFrom(ref input, UnlockedAreaMapScNotify._repeated_entryIdList_codec);
				}
			}
		}

		// Token: 0x04005D3C RID: 23868
		private static readonly MessageParser<UnlockedAreaMapScNotify> _parser = new MessageParser<UnlockedAreaMapScNotify>(() => new UnlockedAreaMapScNotify());

		// Token: 0x04005D3D RID: 23869
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005D3E RID: 23870
		public const int EntryIdListFieldNumber = 6;

		// Token: 0x04005D3F RID: 23871
		private static readonly FieldCodec<uint> _repeated_entryIdList_codec = FieldCodec.ForUInt32(50U);

		// Token: 0x04005D40 RID: 23872
		private readonly RepeatedField<uint> entryIdList_ = new RepeatedField<uint>();
	}
}
